package com.zheng.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zheng
 * @since 2020-12-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("nx_yth_bill")
@ApiModel(value="NxYthBill对象", description="")
public class NxYthBill extends Model<NxYthBill> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "拨款凭证主键")
    @TableId
    private String payAllocCertId;

    @ApiModelProperty(value = "单位代码")
    private String agencyCode;

    @ApiModelProperty(value = "付款人全称")
    private String payAcctName;

    @ApiModelProperty(value = "付款人账号")
    private String payAcctNo;

    @ApiModelProperty(value = "付款人开户银行")
    private String payAcctBankName;

    @ApiModelProperty(value = "收款人全称")
    private String payeeAcctName;

    @ApiModelProperty(value = "收款人账号")
    private String payeeAcctNo;

    @ApiModelProperty(value = "收款人开户银行")
    private String payeeAcctBankName;

    @ApiModelProperty(value = "拨款金额")
    private String payAmt;

    @ApiModelProperty(value = "外币金额")
    private String foreignAmt;

    @ApiModelProperty(value = "币种代码")
    private String currencyCode;

    @ApiModelProperty(value = "汇率")
    private String estRat;

    @ApiModelProperty(value = "用途")
    private String useDes;

    @ApiModelProperty(value = "支出功能分类科目代码")
    private String expFuncCode;

    @ApiModelProperty(value = "政府支出经济分类代码")
    private String govBgtEcoCode;

    @ApiModelProperty(value = "项目代码")
    private String proCode;

    @ApiModelProperty(value = "指标主键")
    private String bgtId;

    @ApiModelProperty(value = "资金性质代码")
    private String fundTypeCode;

    @ApiModelProperty(value = "收款人代码")
    private String receiverCode;

    @ApiModelProperty(value = "一体化中单据的状态")
    private String status;

    @ApiModelProperty(value = "创建时间")
    @TableField("INPUT_TIME")
    private Date inputTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "备注字段")
    @TableField("REMARK")
    private String remark;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
